package com.haiyu.manager.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class OrderDTO {
    private String orderId;
    private Integer detailId;
    private Integer category2Id;
    private String category2Name;
    private String serviceTime;
    private BigDecimal orderAmount;
    private Integer orderStatus;
    private String orderRemark;
    private String buyerOpenid;

    private Integer addressId;
    private String userNickname;
    private String addressUserName;
    private String addressBuyerPhone;
    private String addressArea;
    private String addressDetail;
    private Integer workerId;
    private String workerOpenid;
    private String workerPhone;
    private String workerName;
    private String workerRemark;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime1;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime1;
    private OrderDetailDTO orderDetailDTO;







}
